package main

import "fmt"

func main() {
	personMap:= make(map[string]int)
	key := "zhangsan"
	//personMap[key] = 100
	val, ok := personMap[key]
	if ok {
		fmt.Printf("key=%s exist val=%d\n", key, val)
	} else {
		fmt.Printf("key=%s not exist\n", key)
	}
}
